﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.DesignServer.Data
{
    [MessageContract]
    public class ItemSummary
    {
        [MessageBodyMember]
        public Guid Id { get; set; }

        [MessageBodyMember]
        public int Version { get; set; }

        [MessageBodyMember]
        public string Name { get; set; }

        /// <summary>
        /// 是否处于编辑状态
        /// </summary>
        [MessageBodyMember]
        public bool IsEditing { get; set; }

        /// <summary>
        /// 当前的编辑人
        /// </summary>
        [MessageBodyMember]
        public string Editor { get; set; }

        [MessageBodyMember]
        public int Type { get; set; }
    }
}
